<!DOCTYPE html>
<html>

<script type="text/javascript">
function sub() {
    var f=document.getElementById("form");
    f.submit();
}
</script>
<include file="public/menuadmin"/>

<div class="main_container" id="users_page">
<div class="row-fluid">
<h2 class="heading" align="center">添加奖品信息</h2>
          
        <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-list-alt"></i><h5>添加奖品信息</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>
            <div class="widget-body">
              <div class="widget-forms clearfix" >
                <form id="form" class="form-horizontal" method="post"  class="form-horizontal" action="{:U(prizeedit)}"  enctype="multipart/form-data" onsubmit="return check();">
                  <div class="control-group">
                  <div class="control-group">
                    <label class="control-label">奖品序号</label>
                    <div class="controls">
                      <input class="span7 tip" type="text" name="id" id="vid"  value={$videos.prize_id} readonly="true">
                    </div>
                  </div>
                    <label class="control-label">奖品名称</label>
                    <div class="controls">
                      <input class="span7 tip" data-title="不要超过16字" type="text" placeholder="请填写奖品名称" name="activityname" value={$videos.prize_name}>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">花费的运动值</label>
                    <div class="controls">
                      <input class="span7 tip" data-title="不要超过100字" type="text" placeholder="请填写花费的运动值" name="activityintro" value={$videos.prize_spend}>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">奖品数量</label>
                    <div class="controls">
                      <input class="span7 tip" data-title="不要超过11字" type="text" placeholder="请填写奖品数量" name="activitytel"  value={$videos.prize_amount}>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">奖品介绍</label>
                    <div class="controls">
                      <input class="span7 tip" data-title="请填写正确的时间" type="text" placeholder="请填写奖品介绍" name="activitytime"  value={$videos.prize_intro}>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">上传头像</label>
                    <input type="file" name="file"  value={$videos.prize_picture}/>
                  </div>
                </form>
              </div>
            </div>
            <div class="widget-footer">

               <button class="btn btn-primary" type="submit" name="submit" onclick="sub()">提交</button>
               <button class="btn" type="button" name="reset">取消</button>
            </div>
          </div>
        </div>  
        

        
        
      </div>
        </div> <!-- /row-fluid -->
      </div><!-- main_container -->

<!-- this is userlist -->


</body>
</html>